package com.hubing.cloud.app.web;

import com.hubing.cloud.app.web.es.ElasticSearchRestManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.hubing.cloud.app.web.mapper")
public class WebApplication {
    public static void main(String[] args) {
        SpringApplication.run(WebApplication.class,args);
        ElasticSearchRestManager.initElasticSearch();
    }
}
